Skip to content

fix: install bpftool via linux-tools package#178

Open
0xnull007 wants to merge 1 commit into
bata24:devfrom
0xnull007:bpftool_package
Open

fix: install bpftool via linux-tools package#178
0xnull007 wants to merge 1 commit into
bata24:devfrom
0xnull007:bpftool_package

Conversation

@0xnull007

Copy link
Copy Markdown

bpftool is no longer a standalone apt package; it ships in
linux-tools-$(uname -r). That package is tied to the running kernel and is frequently unavailable inside
containers (the host kernel's linux-tools may not exist in the image's repos),

@bata24

bata24 commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Thanks for the suggestion.

However, on Ubuntu 26.04, bpftool is still a real standalone package, not a purely virtual one.

For older Ubuntu releases, the current logic should be fine for gef's use case: if apt-get install bpftool works, that is enough. GEF only needs a working bpftool binary for decoding BTF data, not necessarily linux-tools-$(uname -r).

Did you encounter any actual issue with the current installer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants